fix(tests): use whitelisted smoke job in quantum autorun status test#463
Draft
cursor[bot] wants to merge 2 commits into
Draft
fix(tests): use whitelisted smoke job in quantum autorun status test#463cursor[bot] wants to merge 2 commits into
cursor[bot] wants to merge 2 commits into
Conversation
The run_autorun_job API rejects non-whitelisted job names before status lookup. Update list/dict shape tests to use 'smoke' instead of 'another'. Co-authored-by: Bryan
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR fixes a quantum integration test by switching it to use a whitelisted autorun job name so that the test exercises the status-shape handling logic instead of failing on job-name validation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Update orchestrator and repo_health_automation status payloads from the hourly automation run (2725 tests passed, integration gate OK). Co-authored-by: Bryan
🟡 Coverage —
|
| Metric | Value |
|---|---|
| Total coverage | 65.2% |
→ vs main |
0.0% |
| Minimum threshold | 60% |
Updated on every push · 2026-06-20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hourly repo automation failed because two quantum integration tests used a non-whitelisted autorun job name (
another). Therun_autorun_jobAPI validates job names before status lookup, so the tests never reached the list/dict status parsing they were meant to exercise.Changes
test_run_autorun_job_reads_status_for_list_and_dict_shapesto use the whitelistedsmokejob name in fixtures and assertionsVerification
.venv/bin/python -m pytest tests/test_quantum_integration.py— 2 passed.venv/bin/python scripts/repo_health_automation.py --once --repair-status --refresh-stale-status --run-agents --continue-on-fail— all steps passed (2725 unit tests, integration gate, repo agents)Summary by Sourcery
Tests: